package org.xyz;

import cn.hutool.core.date.DateUtil;
import cn.hutool.core.lang.UUID;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.generator.config.DataSourceConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.xyz.dao.SettingsMapper;

import java.util.List;
import java.util.Map;

@EnableScheduling
@SpringBootApplication
public class Main {
    public static void main(String[] args) {
        SpringApplication.run(Main.class, args);
//        String now = DateUtil.date().toTimestamp().toString();
//        UUID uuid = UUID.fastUUID();
//        System.out.println(now+"_"+uuid);

//        List<Map<String, Object>> maps = settingsMapper.selectMaps(null);
//        System.out.println(JSON.toJSON(settingsMapper));
    }
}
